package com.kirayous.common.exception;

/**
 * @author KiraYous
 * @version V1.0
 * @Package com.kirayous.common.exception
 * @date 2022/4/12 10:06
 */
public class NoStockException extends RuntimeException {
    public NoStockException(Long skuId){
        super("商品id:"+skuId+"；没有足够的库存了");
    }

    public NoStockException(String message){
        super(message);
    }
}